package com.ems.service;

import com.alibaba.fastjson.JSONObject;
import com.ems.dto.Score;
import com.ems.dto.StudentPaper;
import com.ems.entity.Exam;
import com.ems.entity.Student;

import java.util.List;

public interface StudentService {

    List<Exam> exam(Integer stuid);

    Score score(Integer stuid);

    boolean register(JSONObject jsonObject);

    StudentPaper getExamPaper(Integer eid,Integer uid);

    boolean putAnswer(JSONObject jsonObject);

    Student queryByUsername(String username);
}
